Skip to content

Update markdown_controller.js#939

Merged
jbtronics merged 1 commit intoPart-DB:masterfrom
d-buchmann:markdown-link-handling
Sep 6, 2025
Merged

Update markdown_controller.js#939
jbtronics merged 1 commit intoPart-DB:masterfrom
d-buchmann:markdown-link-handling

Conversation

@d-buchmann
Copy link
Copy Markdown
Contributor

@d-buchmann d-buchmann commented May 22, 2025

Don't handle links as external by default. Instead distiguish internal (relative) and external (absolute) links.
That way, if you link to filters in your Part-DB banner, you won't end up with lots of tabs open at the end of the day.

Don't handle links as external by default. Instead distiguish internal (relative) and external (absolute) links.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.71%. Comparing base (b8d5b83) to head (e5a7ddb).
⚠️ Report is 228 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #939      +/-   ##
============================================
- Coverage     59.73%   59.71%   -0.02%     
  Complexity     6036     6036              
============================================
  Files           529      529              
  Lines         20588    20588              
============================================
- Hits          12298    12295       -3     
- Misses         8290     8293       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jbtronics
Copy link
Copy Markdown
Member

An internal path can be absolute too, but I see no disadvantage in having this change.

@jbtronics jbtronics merged commit 0e9558e into Part-DB:master Sep 6, 2025
12 of 16 checks passed
@d-buchmann d-buchmann deleted the markdown-link-handling branch September 10, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants